#ifndef __LINKLIST_H_
#define __LINKLIST_H_

#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <stdlib.h>

#define ElementType int

struct Node
{
    ElementType value;
    struct Node* next;
};
typedef struct Node node;


struct LinkList
{
    node *head;
    int len;
};
typedef struct LinkList lList;

void InitLinkList(lList list);
int* FindElementByIndex(lList *list, int index);

#endif